<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title></title>
		<script src="https://apps.bdimg.com/libs/jquery/2.1.4/jquery.min.js"></script>
	</head>
	<body>
		<button type="button">按我</button>
		<div id="demo" style="width: 100px;height: 100px;background-color: #00FFFF;margin-top: 20px;text-align: center;">
			我是赵子杰，你是谁啊？
		</div>
		<script type="text/javascript">
			$(function(){
				$("button").click(function(){
					$("#demo").animate({
						height:"toggle",
						width:"500px",
						},'slow');
				});
			});
		</script>
	</body>
</html>
